package HomeWorkJava;

public class StudentTest {
    public static void main(String[] args) {
        // 创建第一个学生对象
        Student stu1 = new Student();
        stu1.Name = "张三";
        stu1.Id = "1001";
        stu1.Classes = "地信";
        stu1.Gender = "男";
        stu1.Age = "18";
        stu1.Character = "活泼可爱";
        stu1.PrintStudent();

        // 创建第二个学生对象
        Student stu2 = new Student();
        stu2.Name = "李四";
        stu2.Id = "1002";
        stu2.Classes = "城规";
        stu2.Gender = "男";
        stu2.Age = "19";
        stu2.Character = "腼腆";
        stu2.PrintStudent();

        // 创建第三个学生对象
        Student stu3 = new Student();
        stu3.Name = "王五";
        stu3.Id = "1003";
        stu3.Classes = "土管";
        stu3.Gender = "女";
        stu3.Age = "17";
        stu3.Character = "乖巧";
        stu3.PrintStudent();
    }
}
